/*
 * Copyright (c) 2023 Cshoo Org. All Rights Reserved.
 */

package org.tattoo.workflow.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "保存采购订单请求DTO")
public class SaveProcurementOrderReq {

    @ApiModelProperty(value = "采购订单id")
    private Long id;

    @NotBlank(message = "name is required")
    @ApiModelProperty(value = "采购订单名称")
    private String name;

    @ApiModelProperty(value = "描述")
    private String description;
}
